package com.niuwa.p2p.service.interview;

import java.util.List;
import java.util.Map;

import com.niuwa.p2p.core.mvc.entity.PageBean;
import com.niuwa.p2p.entity.channel.LoanClaimAudit;
import com.niuwa.p2p.entity.channel.LoanRelativeFile;
import com.niuwa.p2p.exception.BusinessException;
import com.niuwa.p2p.vo.interview.InterviewVo;

/**
 * 查询面签列表的Service类
 * 
 * @author houdianbo
 * @Date 2015-04-23
 */
public interface IInterviewService {
	/**
	 * 根据查询条件查询面签列表
	 * 
	 * @param paramMap
	 *            查询条件
	 * @return 面签列表集合
	 */
	public PageBean<InterviewVo> selectInterviewByParam(
			Map<String, Object> paramMap);

	/**
	 * 面签审核
	 * 
	 * @return 审核结果
	 * @throws BusinessException
	 *             审核前检查项目状态不正确的时候给予提示
	 */
	public boolean updateViewAuditStatus(Map<String, Object> paramMap,
			Long operator, String userName) throws BusinessException;

	/**
	 * 面签协议文件
	 * 
	 * @param projectNo
	 *            面签协议编号
	 * @return
	 */
	public List<LoanRelativeFile> getLoanRelativeFile(String projectNo);

	/**
	 * 获取面签拒绝审批详细
	 * 
	 * @param projectNo
	 * @return
	 */
	public LoanClaimAudit getLoanClaimAudit(Map<String, Object> paramMap);

}
